Skip to main content

GeoDistance

GeoDistance[{lat1,lon1},{lat2,lon2}] gives the geodesic distance between latitude-longitude positions on the Earth.

GeoDistance[loc1,loc2] gives the distance between locations specified by position objects or geographical entities.

GeoDistance[{loc1,…,locn}] gives the total distance from loc1 to locn through all the intermediate loci.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.